package org.brisling.websocket.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;

/**
 * 
 * <p>Title: WSDomain</p>
 * <p>Description: websocket消息实体对象</p>
 * <p>Company: tongking</p>
 * @author jackson wang
 * @since 1.0
 * @version 1.0
 * @date 2017年6月12日 下午11:08:12
 */
@Entity
@Table(name=ConstSysParam.MODULE_WEBSOCKET_MESSAGE)
public class WSDomain extends BaseDomain implements BaseDomainInf{

	
	
	//业务代码(父类继承)
	//private String bizcode;
	
	//业务id(父类继承)
	//private String bizid;
	
	//业务唯一标识(父类继承)
	//private String identify;
	
	//提示信息
	private String msg;
	
	//消息类型(1、可点击查看链接，2、不可点击查看链接)
	private String type;

	

	public String getIdentify() {
		return identify;
	}

	public void setIdentify(String identify) {
		this.identify = identify;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	//消息状态(1、未发送，2、已发送，4、已查看)
	//private String status;
	
	
}
